<template>
  <div>我乃星帝,杀敌数{{ count }}
    <el-button @click="$emit('update:count',count+1)">
      杀敌
    </el-button>
    修罗{{ xing }}
    <el-button @click="$emit('update:xing',xing+1)">杀敌</el-button>
  </div>
</template>

<script>
export default {
  props: {
    count: {
      type: Number,
      required: true
    },
    xing: {
      type: Number,
      required: true
    }
  }
}
</script>

<style>

</style>
